Skip to main content

UiPath connector

Overview

UiPath provides an API that exposes several actions that let you take control of your resources in the orchestrator. Bizagi has created in the RPA life cycle management project a connector that uses the UiPath API. This section explains how you configure your connector, and how you can use it in other projects.

Note:
You can use this connector with cloud-based licensed UiPath orchestrators. Trials, non-licensed and on-premises versions cannot be integrated using the connector of this project.

In Bizagi Studio, open the Expert view. Select the External Systems module to find a UiPath connector:

LCM_4

Right-click the connector to display the context menu and select Properties:

LCM_6

Here you can set the following global parameters:

  • Orchestrator URL: URL of your UiPath orchestrator.
  • Tenant: Name of the tenant where you have your UiPath infrastructure.
  • User name: Name of the super admin user of the orchestrator.
  • Password: Password of the orchestrator user.

LCM_7

When you are ready, click OK to save your settings.

In processes that need to invoke the connector, there are services tasks with a configuration for the connector, depending on the method needed. For example, when you create a new machine, Bizagi uses this connector to register this machine in your UiPath orchestrator:

LCM_8

When you open the configuration of the service task, it invokes an action included in the connector. This example uses the Add machine action:

LCM_9

Each action has some inputs depending on the action type. However, each action also includes the orchestrator parameters:

  • Orchestrator URL
  • Tenant
  • User name
  • Password

LCM_10

Because you can have multiple orchestrators or tenants in the same project, you can send these parameters in the invocation of the connector in each process. When you map these parameters in the action configuration, Bizagi overrides the global configuration of the connector.

Note:
When you use the connector, you can send it different orchestrator, tenant or user credentials than those in the global configuration. In that case, the information sent in the mapping configuration is considered before the global configuration.

Connector Actions

The connector includes several actions that cover most of the methods exposed by the UiPath API. You can edit the connector if you need to make changes to its logic, or if you need to include more methods. See download the connector. The following table contains the most important methods used by the RPA life cycle management project:

ActionDescription
Add environmentCreate a new environment in UiPath within the tenant of an orchestrator.
Add machineCreate a new machine in UiPath within the tenant of an orchestrator.
Add robot to environmentAssociate an existing robot with an environment. You need to send the ID of the Robot.
Create robotCreate a new robot in UiPath.
Create an assetRegister a new asset in UiPath that a robot can use.
Delete assetDelete an existing asset.
Delete environmentDelete an existing environment. You need to send the ID of the environment.
Delete machineDelete an existing machine. You need to send the ID of the machine.
Delete robotDelete an existing robot. You need to send the ID of the robot.
Get environmentsGet all the environments associated with a tenant in a UiPath orchestrator.
Get machinesGet all the machines in the orchestrator, or based on filter conditions. For example, get information about a machine with a specific name.
Upload packageUploads the development package created in UIPath studio in an orchestrator.

Download the connector

If you want to make changes to the connector, or see how it is built, you can download the connector and review it in the connector editor. Select a version and then you can download the connector clicking the Export connector package button:

LCM_5

Upload the connector in the connector editor, and then you can review each method code and configuration:

LCM_11